public boolean parrotTrouble(boolean talking, int hour) {
  if((hour < 7 || hour > 20) && hour >0 && hour <= 23 && talking == true){
    return true;
  }
  else
  {
    return false;
  }
}